$(function () {
    window.mainpage.instMainMenus();
    window.mainpage.instFavoMenus();
    window.mainpage.instTimerSpan();
    window.mainpage.bindNavTabButtonEvent();
    window.mainpage.bindToolbarButtonEvent();
    window.mainpage.bindMainTabButtonEvent();

    var layout = $("#mainLayout");

    $.util.exec(function () {
        layout.removeClass("hidden").layout("resize");

        $("#maskContainer").remove();

        //var size = $.util.windowSize();
        //  判断当浏览器窗口宽度小于像素 1280 时，右侧 region-panel 自动收缩
        //if (size.width < 1280) { layout.layout("collapse", "east"); }

        loginView(); 
    },100);
});
    

